home *** CD-ROM | disk | FTP | other *** search
- /* map8bpp.h
- * AUTHOR: Cy Booker, cy@cheepnis.demon.co.uk
- * LICENSE: FreeWare, Copyright (c) 1995 Cy Booker
- * PURPOSE: low level 8 bit colour routines
- */
-
- #ifndef map8bpp_h
- #define map8bpp_h
-
-
- #include "OS:os.h"
-
- #include "gif2rpc:process_gif.h"
-
-
-
- /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- * this routine only requires an input of rgb16scaled, but make same as other, so can
- * pass a function pointer into processing routines
- * returns colour number given red, grn, blu
- */
-
- extern bits map_scaled_rgb_to_8bpp_colour_number_quick(
- rgbtupleout *out,
- int red,
- int grn,
- int blu);
-
-
-
- /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- * returns palette index given red, grn, blu, and io->palette
- */
-
- extern bits map_scaled_rgb_to_palette_index(
- rgbtupleout *io,
- int red,
- int grn,
- int blu);
-
-
-
- #endif /* map8bpp_h */
-